<!--
 * @Author: asushiye
 * @Date: 2020-07-14 10:48:58
 * @Commit: file content
-->
<page-header autoTitle="false" />

<nz-card>
  <sf mode="search" [schema]="searchSchema" (formSubmit)="st.reset($event)" (formReset)="st.reset($event)" />
  <st #st [data]="url" [req]="req" [columns]="columns" [expand]="expand" [ps]="50" size="small" expandRowByClick expandAccordion>
    <ng-template #expand let-item let-index="index" let-column="column">
      <sv-container size="small" col="3">
        <sv label="上传内容" col="1">{{ item!.uploadContent }}</sv>
        <sv label="创建人">{{ item!.createdBy }}</sv>
        <sv label="创建时间">{{ item!.createdDate }}</sv>
      </sv-container>
      <textarea nz-input placeholder="script" [nzAutosize]="{ minRows: 2, maxRows: 6 }">{{ item!.uploadContent }}</textarea>
    </ng-template>
  </st>
</nz-card>
